  <div>
  
	<div class="container"> 
	
	<?php get_template_part( 'mainmenu'); ?>
		 
		<div class="col-md-9 col-sm-8" id='mainController' ng-controller='mainController' ng-show="Active == 1">
			 <div class="row">
			  <div class="col-lg-6 col-md-6 col-sm-6 block" ng-repeat="post in response_datas.posts">			
				<div class="imagetitle">
				  <a href="{{post.permalink}}"><img ng-src="{{post.feature_image}}" alt="{{post.post_title}}" class="img-responsive"/>	</a>
				</div>
				<div class="block-content news-content{{modulus($index,4)+1}}">
					
					<div class="title"> <a href="{{post.permalink}}"><h2 ng-bind="post.post_title"></h2></a></div>
					<div class="description" ng-bind="post.post_excerpt"></div>
					
				</div>
			  </div>
			  
			</div>
		</div>
		
		<div class="col-md-9 col-sm-8" id='detailController' ng-controller='detailController' ng-show="Active == 1">
			 <div class="Detail">
			 	<h1 ng-bind="title"></h1>
			 	<div ng-bind-html-unsafe="content">
			 		
			 	</div>
			  
			</div>
		</div>
		
		<div class="col-md-9 col-sm-8" id='newsController' ng-controller='newsController' ng-show="Active == 1">
			
			 <div class="Detail"  ng-repeat="post in posts.news">
			 	<a href="{{post.permalink}}"><h2 ng-bind="post.post_title"></h2></a>
			 	<div class="datetime" ng-bind="post.post_date_gmt"></div>
			 	<div class="row">
				 	<div class="col-md-5">
				 	<div class="detailimagetitle" >
					  <a href="{{post.permalink}}"><img ng-src="{{post.feature_image}}" class="img-responsive"/>	</a>
					  </div>
					</div>
				 	<div class="col-md-7" ng-bind="post.post_excerpt">
				 		
				 	</div>
			  	</div>
			</div>
			
			<div class="DetailOther"  ng-show="isOther == 1">
			 	<h2>Tin tức khác</h2>
			 	<ul>
			 		<li ng-repeat="post in posts.others"><a href="{{post.permalink}}" ng-bind="post.post_title"></a></li>
			 	</ul>
			 	
			</div>
		</div>
		
		
	</div>
  </div>
  
  <script language="javascript">
<!--
$(document).ready(function()
{
    $(".defaultText").focus(function(srcc)
    {
        if ($(this).val() == $(this)[0].title)
        {
            $(this).removeClass("defaultTextActive");
            $(this).val("");
        }
    });
    
    $(".defaultText").blur(function()
    {
        if ($(this).val() == "")
        {
          
            $(this).addClass("defaultTextActive");
            $(this).val($(this)[0].title);
        }
       
    });
    
    $(".defaultText").blur();  
	
   
});
//-->
</script>

 